package com.lingjtx.common.core.token;

import java.util.Date;

public class UserDetail {

    private String jti; //token唯一id
    private Long userId;
    // 认证状态：0-不通过；1-已认证；2-审核中
    private Byte certificationStatus;
    private String userType;
    private Byte role;
    public Boolean offline;
    private Date expTime;
    private Long companyId; // 账户归属组织/公司/部门
    /**
     * 操作设备平台：1-PC；2-安卓；3-iOS；4-密钥端
     */
    private Integer operationDevice;

    private String deviceUid;


    public String getJti() {
        return jti;
    }

    public void setJti(String jti) {
        this.jti = jti;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Byte getCertificationStatus() {
        return certificationStatus;
    }

    public void setCertificationStatus(Byte certificationStatus) {
        this.certificationStatus = certificationStatus;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Byte getRole() {
        return role;
    }

    public void setRole(Byte role) {
        this.role = role;
    }

    public Boolean getOffline() {
        return offline;
    }

    public void setOffline(Boolean offline) {
        this.offline = offline;
    }

    public Date getExpTime() {
        return expTime;
    }

    public void setExpTime(Date expTime) {
        this.expTime = expTime;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Integer getOperationDevice() {
        return operationDevice;
    }

    public void setOperationDevice(Integer operationDevice) {
        this.operationDevice = operationDevice;
    }

    public String getDeviceUid() {
        return deviceUid;
    }

    public void setDeviceUid(String deviceUid) {
        this.deviceUid = deviceUid;
    }
}
